package com.lingdian.study.aop;

import java.lang.reflect.Method;

import org.springframework.aop.ThrowsAdvice;

public class ExceptionAdvice implements ThrowsAdvice{

	public void afterThrowing(Method method,Object[] ojb,Object target,RestException e)
	 throws Throwable{
		System.out.println("the name is null");
	}
	
}
